<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var name = "zhangsan";
			var sex = "''";

			var a = 'abc';
			var b = '123';
            // 字符串拼接,+
			var c = a + b + ",";
			
			// alert(c);
		</script>
		
		<script type="text/javascript">
			//转义符 \要转义特殊符号
			var d = '\'';
			
			var e = '\\';
			
			var f = 'abc\n123';
			alert(f);
			
			
		</script>
	</head>
	<body>
	</body>
</html>
